<div class="container" [ngStyle]="{'height': sliderHeight}" >
    <div class="image-slider" (scroll)="handleScroll($event)" #imageSlider>
        <img 
            #img
            *ngFor="let slider of sliders"
            [src]="slider.imgUrl" 
            [alt]="slider.caption" >
    </div>
    <div class="nav-section">
        <span class="slide-button" *ngFor="let _ of sliders; let idx = index"
        [ngClass]="{'slide-button-select': idx===selectIndex}"></span>
    </div>
    <div class="frontArrow">
    找不到QAQ
    </div>
    <div class="NextArrow">
        >
    </div>
</div>